import request from '@/util/request.js';

/**
 * @description 根据用户ID查询用户对应的银行、收款码信息列表
 * @param {Object} data
 */
export function getUserBankList(data) {
	return request({
		url: '/bank/getBankList',
		method: 'GET',
		data
	})
}

/**
 * @description 删除
 * @param {Object} data
 */
export function del(data) {
	return request({
		url: '/bank/del',
		method: 'GET',
		data
	})
}

/**
 * @description 充值
 * @param {Object} data
 */
export function recharge(data) {
	return request({
		url: '/purchaseCouponsRecord/buyAcount',
		method: 'GET',
		data
	})
}

/**
 * @description 充值
 * @param {Object} data
 */
export function getList(data) {
	return request({
		url: '/purchaseCouponsRecord/getList',
		method: 'GET',
		data
	})
}

export function details(data) {
	return request({
		url: '/securitiesTradingZone/details',
		method: 'GET',
		data
	})
}